Skip to content

Conversation

lovasoa
Copy link
Contributor

@lovasoa lovasoa commented Oct 30, 2024

fixes #1492

see the specs here: https://dev.mysql.com/doc/refman/8.0/en/json-table-functions.html#function_json-table

@alamb : this is a fix for the following bug in SQLPage: sqlpage/SQLPage#658

@lovasoa lovasoa marked this pull request as ready for review October 30, 2024 22:02
@lovasoa lovasoa changed the title add support for FOR ORDINALITY in JSON_TABLE add support for FOR ORDINALITY and NESTED in JSON_TABLE Oct 30, 2024
Copy link
Contributor

@iffyio iffyio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! cc @alamb

@coveralls
Copy link

Pull Request Test Coverage Report for Build 11621463747

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 27 of 29 (93.1%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.003%) to 89.382%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/ast/query.rs 10 12 83.33%
Totals Coverage Status
Change from base Build 11580333290: 0.003%
Covered Lines: 30439
Relevant Lines: 34055

💛 - Coveralls

@alamb alamb merged commit fc0e13b into apache:main Nov 6, 2024
10 checks passed
@alamb
Copy link
Contributor

alamb commented Nov 6, 2024

Thanks @lovasoa and @iffyio

@lovasoa lovasoa deleted the json_table_advanced_column_types branch November 6, 2024 21:06
@lovasoa
Copy link
Contributor Author

lovasoa commented Nov 6, 2024

Thank you for merging, @alamb 😊

Could you maybe also take a look at #1490 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

add support for FOR ORDINALITY in JSON_TABLE

4 participants